Skip to content

Commit

Permalink
fixed a fatal bug with getting object information
Browse files Browse the repository at this point in the history
  • Loading branch information
katsaii committed Nov 3, 2021
1 parent a5c0a00 commit ebb78ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/scr_disarm/scr_disarm.gml
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ function disarm_object_exists(_arm, _info) {
/// struct will affect the representation of the object in the animation.
/// @param {struct} arm The Disarm instance to update.
/// @param {real} object_name_or_id The name of the object to get.
function disarm_object_get_data(_arm, _bone) {
function disarm_object_get_data(_arm, _info) {
var entity = _arm.entities[_arm.currentEntity];
var pos = __disarm_get_index_id_or_name(entity.infoTable, _info);
return entity.info[pos];
Expand Down

0 comments on commit ebb78ec

Please sign in to comment.