Revert "More Fixes #991"

This reverts commit 7d15cfb1bf.
This commit is contained in:
Skaronator
2014-01-18 14:49:44 +01:00
parent 91c7ddf829
commit a3fd8bd1ca
3 changed files with 7 additions and 9 deletions

View File

@@ -1,9 +1,8 @@
private["_body","_name","_method","_methodStr","_bodyName"];
private["_body","_name","_method","_methodStr"];
_body = _this select 3;
_bodyName = toArray "unknown";
_name = _body getVariable["bodyName",_bodyName];
_name = _body getVariable["bodyName","unknown"];
_method = _body getVariable["deathType","unknown"];
_methodStr = localize format ["str_death_%1",_method];
cutText [format[(localize "str_player_studybody"),toString(_name),_methodStr], "PLAIN DOWN"];
cutText [format[(localize "str_player_studybody"),_name,_methodStr], "PLAIN DOWN"];