Skip to content

Commit bbf353b

Browse files
authored
Common - Fix setName error when respawning (#11470)
Update CfgEventHandlers.hpp
1 parent 3b27594 commit bbf353b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

addons/common/CfgEventHandlers.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class Extended_Respawn_EventHandlers {
4343
respawn = QUOTE(call FUNC(restoreVariablesJIP));
4444
};
4545
class GVAR(setName) {
46-
respawn = QUOTE(call FUNC(setName));
46+
respawn = QUOTE((_this select 0) call FUNC(setName));
4747
};
4848
class GVAR(RESETDefaults) {
4949
respawn = QUOTE(call FUNC(resetAllDefaults));

0 commit comments

Comments
 (0)